package cn.bubi.sdk.sample;

import java.util.Arrays;
import java.util.UUID;
import java.util.concurrent.TimeUnit;

/***
 *  Created By 张猛 on 2018/6/7
 */
public class TestUUID {
    public static void main(String[] args) throws Exception {
        long last = System.currentTimeMillis();
        TimeUnit.SECONDS.sleep(1);
        System.out.println((System.currentTimeMillis() - last) + "ms");
//        Object[] objs = new Object[]{};
//        System.out.println(Arrays.toString(objs));
//        for(int i = 0 ; i < 10 ; i++) {
//            String idx = UUID.randomUUID().toString().replaceAll("-", "");
//            System.out.println("idx: " + idx);
//        }
    }
}
